const URL = process.env.VUE_APP_API
const bdx = {
  sso_login: `${URL}/sso/login`, //登录
  //找回密码
  sso_fromsms: `${URL}/sso/code/sms`,
  sso_fromemail: `${URL}/sso/code/email`,
  sso_reset: `${URL}/sso/code/sms`,
  sso_getdetail: `${URL}/sso/reset/userInfo`,

  // 计划类型管理
  planType_list: `${URL}/manage/visitPlanType/list`,
  planType_add: `${URL}/manage/visitPlanType/add`,
  planType_delete: `${URL}/manage/visitPlanType/delete`,
  planType_Info: `${URL}/manage/visitPlanType/info`,
  planType_edit: `${URL}/manage/visitPlanType/update`,
  // 计划列表
  planList_list: `${URL}/manage/visitPlan/list`,
  planList_info: `${URL}/manage/visitPlan/info`,
  planList_delete: `${URL}/manage/visitPlan/delete`,
  planList_test: `${URL}/manage/visitPlan/scheme/test`,
  planList_cancel: `${URL}/manage/visitPlan/cancelAll`,
  planList_stops: `${URL}/manage/visitPlan/batchCancelAll`,
  planList_stopId: `${URL}/manage/visitPlan/batchCancelPlanIds`,
  // 记录结果列表
  recordList_list: `${URL}/manage/visitRecord/list`,
  recordList_Info: `${URL}/manage/visitRecord/allInfo`,
  // 组织树
  orgTree: `${URL}/manage/upmsOrg/tree`,

  // 通话状态
  callStatus: `${URL}/manage/visitRecord/callStatus`,
  // 随访状态
  followStatus: `${URL}/manage/visitRecord/status`,
  // 计划状态
  planStatus: `${URL}/manage/visitPlan/status`,
  // 终止原因
  stopReasons: `${URL}/manage/upmsDicData/list`,
  // 头部字段管理
  // 用户管理
  userType_list: `${URL}/manage/upmsUser/list`,
  userType_add: `${URL}/manage/upmsUser/add`,
  userType_Update: `${URL}/manage/upmsUser/update`,
  userType_delete: `${URL}/manage/upmsUser/delete`,
  userType_info: `${URL}/manage/upmsUser/info`,
  userType_copy: `${URL}/manage/upmsUser/copy`,
  userType_filed: `${URL}/manage/upmsField/list`,
  userUser_role: `${URL}/manage/upmsUserRole/list`,
  userRole_addOrUpdate: `${URL}/manage/upmsUserRole/addOrUpdate`,
  userTree_addOrUpdate: `${URL}/manage/upmsUserOrg/addOrUpdate`,
  userTree_editShow: `${URL}/manage/upmsUserOrg/getUserOrgTree`,

  // 数据关联
  userType_dataAdd: `${URL}/manage/upmsUserUser/add`,
  // 已关联
  userType_dataDelete: `${URL}/manage/upmsUserUser/delete`,
  // 查看组织树
  userLook_org: `${URL}/manage/upmsUserOrg/info`,
  // 获取文件数据
  getFilePath: `${URL}/manage/ossGetFile/getFilePath`,
  // 查看关联用户数据
  userLook_user: `${URL}/manage/upmsUserUser/list`,
  // 查看角色
  userLook_role: `${URL}/manage/upmsUserRole/selectUpmsRoleByUserId`,
  // 系统配置
  system_list: `${URL}/manage/upmsSystem/list`,
  system_add: `${URL}/manage/upmsSystem/add  `,
  system_update: `${URL}/manage/upmsSystem/update`,
  system_Info: `${URL}/manage/upmsSystem/info`,
  system_delete: `${URL}/manage/upmsSystem/delete`,
  // 角色管理
  role_list: `${URL}/manage/upmsRole/list`, // 列表
  role_Update: `${URL}//manage/upmsRole/addOrUpdate`, // 新增或者编辑
  role_delete: `${URL}/manage/upmsRole/delete`, // 删除
  role_UpdateInfo: `${URL}/manage/upmsRole/info`, // 编辑获取基本信息
  role_Info: `${URL}/manage/upmsRole/getRoleInfo`, // 查看角色
  role_followTypeAdd: `${URL}/manage/upmsRole/infoForAdd`, // 角色添加使用
  role_permission: `${URL}/manage/upmsRole/getRolePermission`, // 角色系统权限(树)
  role_followTypeEdit: `${URL}/manage/upmsRole/infoForUpdate`, // 角色编辑时使用
  // 菜单管理
  menu_add: `${URL}/manage/upmsPermission/add`,
  menu_delete: `${URL}/manage/upmsPermission/delete`,
  menu_permission: `${URL}/manage/upmsPermission/getPermission`,
  menu_update: `${URL}/manage/upmsPermission/update`,
  // 获取系统菜单
  meun_cascader: `${URL}/manage/upmsPermission/systemPermission`,
  // 临时随访
  temporary_add: `${URL}/manage/VisitTemporary/add`,
  temporary_list: `${URL}/manage/VisitTemporary/temporaryPatient`,
  temporary_doctor: `${URL}/manage/VisitTemporary/doctor`,
  temporary_org: `${URL}/manage/VisitTemporary/org`,
  temporary_plan: `${URL}/manage/VisitTemporary/plan/type`,
  temporary_Scheme: `${URL}/manage/followupScheme/list`,
  patient_import: `${URL}/manage/visitHospitalPatient/import`,
  // 药店随访的发起随访list
  order_vistList: `${URL}/manage/pharmacy/group/service/order/visit/list`,
  // 签约服务
  order_List: `${URL}/manage/pharmacy/group/service/order/list`,
  // 会员
  order_get: `${URL}/manage/pharmacy/group/service/order/get`,
  // 关注或取消关注
  order_doAttention: `${URL}/manage/pharmacy/group/service/order/doAttention`,
  order_updatePatient: `${URL}/manage/pharmacy/group/service/order/updatePatient`,

  // 分类
  upmsDicData: `${URL}/manage/upmsDicData/list?dicTypeCode=icdType`,
  upmsIcd_list: `${URL}/manage/upmsIcd/list`,
  // 修改密码
  changePassword: `${URL}/manage/session/changePassword`,
  // 审核、外呼详情
  visitRecord_detail: `${URL}/manage/visitRecord/detail`,

  // 康复计划类型
  recurePlanType_add: `${URL}/manage/recurePlanType/add`,
  recurePlanType_delete: `${URL}/manage/recurePlanType/delete`,
  recurePlanType_list: `${URL}/manage/recurePlanType/list`,
  recurePlanType_update: `${URL}/manage/recurePlanType/update`,
  // 康复计划
  recurePlan_add: `${URL}/manage/recurePlan/add`,
  recurePlan_info: `${URL}/manage/recurePlan/info`,
  recurePlan_delete: `${URL}/manage/recurePlan/delete`,
  recurePlan_list: `${URL}/manage/recurePlan/list`,
  recurePlan_update: `${URL}/manage/recurePlan/update`,
  recurePlanType_menu: `${URL}/manage/recurePlanType/menu`,
  recureProjectType_menu: `${URL}/manage/recureProjectType/menu`,
  // 入院出院须知
  recureNotice_info: `${URL}/manage/recureNotice/info`,
  recureNotice_list: `${URL}/manage/recureNotice/list`,
  recureNotice_update: `${URL}/manage/recureNotice/addOrUpdate`,
  // 检查通知
  recureCheckInform_add: `${URL}/manage/recureCheckInform/add`,
  recureCheckInform_delete: `${URL}/manage/recureCheckInform/delete`,
  recureCheckInform_info: `${URL}/manage/recureCheckInform/info`,
  recureCheckInform_list: `${URL}/manage/recureCheckInform/list`,
  recureCheckInform_update: `${URL}/manage/recureCheckInform/update`,
  // 术前宣教术后宣教
  recureEducation_list: `${URL}/manage/recureEducation/list`,
  recureEducation_update: `${URL}/manage/recureEducation/update`,
  recureEducation_info: `${URL}/manage/recureEducation/info`,
  recureEducation_add: `${URL}/manage/recureEducation/add`,
  recureEducation_delete: `${URL}/manage/recureEducation/delete`,
  // 手术列表
  upmsOperation_list: `${URL}/manage/upmsOperation/list`,
  //药店端
  temporary_pharmacy_add: `${URL}/manage/VisitTemporary/pharmacy/add`,
  pharmacy_recordList: `${URL}/manage/visitRecord/pharmacy/recordList`,
  record_sendMas: `${URL}/manage/doctor/visit/record/sendMas`
}
export default bdx
